.login-page{
  position: relative;
  height: 100vh;
    /* 弹性布局 居中显示 */
    display: flex;
    justify-content: center;
    align-items: center;
    /* 渐变背景 */
    background: linear-gradient(to top left,#ffe29f,#ffa99f,#ff719a);
    /* 溢出隐藏 */
    overflow: hidden;
    // 表单内容
    .container{
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 100%;
      width: 50%;
      position: absolute;
      right: 0;
      top: 0;
      z-index: 9;
      /* logo */
      .logo {
        height: 50px;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        user-select: none;
        .icon {
          margin-right: 10px;
          /* logo 图片 */
          img {
            height: 46px;
            background-color: #f2f2f2;
            border-radius: 50px;
            // border: 3px solid $color;
            border: 3px solid #2c3142;
          }
        }
        /* logo 文字 */
        span {
          display: inline-block;
          font-size: 38px;
          font-weight: bold;
          line-height: 1;
          letter-spacing: 3px;
        }
        /* logo 第六个字 动起来 */
        span:nth-child(6) {
          animation: dou 1s infinite linear;
        }
      }
      /* 副标题 */
      .desc {
        font-size: 15px;
        letter-spacing: 1px;
        margin-bottom: 50px;
      }
      /* 登录表单 */
      .form {
        width: 300px;
        :deep(.el-form) {
          .el-form-item {
            margin-bottom: 20px;
          }

          .el-form-item__label {
            color: var(--el-color-info);
            padding-left: 5px;
            user-select: none;
          }

          .el-input {
            box-sizing: border-box;
            font-size: 15px;
            border: 0;
            border-radius: 0;
            background-color: #f8f8f8;
            padding: 0 5px;
            border-radius: 8px;
            position: relative;

            &__wrapper {
              box-shadow: none;
              background-color: transparent;
            }

            &__inner {
              height: 45px;
              color: #333;
            }

            &:-webkit-autofill {
              -webkit-box-shadow: 0 0 0 1000px #f8f8f8 inset;
              box-shadow: 0 0 0 1000px #f8f8f8 inset;
            }
          }
        }
      }
      /* 验证码 */
      .svg {
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        height: 45px;
        width: 150px;
        background-color: #f8f8f8;
        position: relative;
        -webkit-user-select: none;
        user-select: none;
      }

      /* 表单登录按钮 */
      .op {
        display: flex;
        justify-content: center;
        margin-top: 40px;

        :deep(.el-button) {
          height: 45px;
          width: 100%;
          font-size: 16px;
          border-radius: 8px;
          letter-spacing: 1px;
        }
      }
    }
    /* 背景方块 */
    .bg-squares{
        list-style: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    .bg-squares li{
        width: 40px;
        height: 40px;
        background-color: rgba(255,255,255,0.15);
        position: absolute;
        bottom: -160px;
        /* 执行动画：动画名 时长 线性 无限次播放 */
        animation: square 20s linear infinite;
    }
    /* 为每一个方块设置不同的位置、大小、动画延迟时间、动画时长、背景色 */
    .bg-squares li:nth-child(1){
        left: 10%;
    }
    .bg-squares li:nth-child(2){
        left: 20%;
        width: 80px;
        height: 80px;
        /* 动画延迟时间 */
        animation-delay: 2s;
        /* 动画时长 */
        animation-duration: 17s;
    }
    .bg-squares li:nth-child(3){
        left: 25%;
        animation-delay: 4s;
    }
    .bg-squares li:nth-child(4){
        left: 40%;
        width: 60px;
        height: 60px;
        background-color: rgba(255,255,255,0.25);
        animation-duration: 22s;
    }
    .bg-squares li:nth-child(5){
        left: 70%;
    }
    .bg-squares li:nth-child(6){
        left: 80%;
        width: 120px;
        height: 120px;
        background-color: rgba(255,255,255,0.2);
        animation-delay: 3s;
    }
    .bg-squares li:nth-child(7){
        left: 32%;
        width: 160px;
        height: 160px;
        animation-delay: 7s;
    }
    .bg-squares li:nth-child(8){
        left: 55%;
        width: 20px;
        height: 20px;
        animation-delay: 15s;
        animation-duration: 40s;
    }
    .bg-squares li:nth-child(9){
        left: 25%;
        width: 10px;
        height: 10px;
        background-color: rgba(255,255,255,0.3);
        animation-delay: 2s;
        animation-duration: 40s;
    }
    .bg-squares li:nth-child(10){
        left: 90%;
        width: 160px;
        height: 160px;
        animation-delay: 11s;
    }
}


/* 定义动画 */
@keyframes square {
    0%{
        transform: translateY(0);
    }
    100%{
        transform: translateY(-120vh) rotate(600deg);
    }
}